[INFO] cloning repository https://github.com/yudhiesh1997/The-Rust-Book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yudhiesh1997/The-Rust-Book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyudhiesh1997%2FThe-Rust-Book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyudhiesh1997%2FThe-Rust-Book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 731d0c7f567969be7ddbbcafac4d9fe237633d72
[INFO] checking yudhiesh1997/The-Rust-Book against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyudhiesh1997%2FThe-Rust-Book" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yudhiesh1997/The-Rust-Book
[INFO] finished tweaking git repo https://github.com/yudhiesh1997/The-Rust-Book
[INFO] tweaked toml for git repo https://github.com/yudhiesh1997/The-Rust-Book written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yudhiesh1997/The-Rust-Book on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yudhiesh1997/The-Rust-Book already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59aa091fec8c17608e146ce4afa4332deee519f438aaad4157aac9618e8d5c01
[INFO] running `Command { std: "docker" "start" "-a" "59aa091fec8c17608e146ce4afa4332deee519f438aaad4157aac9618e8d5c01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59aa091fec8c17608e146ce4afa4332deee519f438aaad4157aac9618e8d5c01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59aa091fec8c17608e146ce4afa4332deee519f438aaad4157aac9618e8d5c01", kill_on_drop: false }`
[INFO] [stdout] 59aa091fec8c17608e146ce4afa4332deee519f438aaad4157aac9618e8d5c01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb54f01bb67ff2359a59e2567d7908b47459ab58daadf9cfe6e405fdd71d5950
[INFO] running `Command { std: "docker" "start" "-a" "eb54f01bb67ff2359a59e2567d7908b47459ab58daadf9cfe6e405fdd71d5950", kill_on_drop: false }`
[INFO] [stderr]     Checking the-rust-book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 7 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `House` is never constructed
[INFO] [stdout]  --> src/lib.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct House {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 7 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `can_hold` and `equals` are never used
[INFO] [stdout]   --> src/lib.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl House {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 28 |     fn can_hold(&self, item: &House) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn equals(&self, item: &House) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::closures::iterators::*`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use crate::closures::iterators::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_name_fake`
[INFO] [stdout]   --> src/collections/hash_map.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let team_name_fake = String::from("Green");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_name_fake`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]   --> src/collections/hash_map.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let score = scores.get(&team_name);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `third`
[INFO] [stdout]   --> src/collections/vectors.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let third: &i32 = &v[3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_third`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let file = match file {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let file = match file {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let file = File::open(&file_path).unwrap_or_else(|error| {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::closures::iterators::*`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use crate::closures::iterators::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/closures/iterators.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Counter {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/closures/iterators.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Counter {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 6 |     fn new() -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> src/closures/iterators.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Shoe {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_my_size` is never used
[INFO] [stdout]   --> src/closures/iterators.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn shoes_in_my_size(vec: Vec<Shoe>, shoe_size: i32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `House` is never constructed
[INFO] [stdout]  --> src/lib.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct House {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guess` is never constructed
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Guess {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new(value: i32) -> Guess {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `can_hold` and `equals` are never used
[INFO] [stdout]   --> src/lib.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl House {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 28 |     fn can_hold(&self, item: &House) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn equals(&self, item: &House) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `equal_to_x`
[INFO] [stdout]   --> src/closures/anon_func.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let equal_to_x = move |z: Vec<u32>| z == x;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equal_to_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/closures/anon_func.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut x: Vec<u32> = vec![1, 2, 3];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_name_fake`
[INFO] [stdout]   --> src/collections/hash_map.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let team_name_fake = String::from("Green");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_name_fake`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]   --> src/collections/hash_map.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let score = scores.get(&team_name);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `third`
[INFO] [stdout]   --> src/collections/vectors.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let third: &i32 = &v[3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_third`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let file = match file {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let file = match file {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/error_handling/errors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let file = File::open(&file_path).unwrap_or_else(|error| {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guess` is never constructed
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Guess {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new(value: i32) -> Guess {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] running `Command { std: "docker" "inspect" "eb54f01bb67ff2359a59e2567d7908b47459ab58daadf9cfe6e405fdd71d5950", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb54f01bb67ff2359a59e2567d7908b47459ab58daadf9cfe6e405fdd71d5950", kill_on_drop: false }`
[INFO] [stdout] eb54f01bb67ff2359a59e2567d7908b47459ab58daadf9cfe6e405fdd71d5950
